package com.wsoft.hr.pm.query.grade;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author Z001
 * @Date 2025-03-01 08:35:23
 */
@Data
public class HrPmGradeBaseQuery {
    /**
     * 编码
     */
    @Schema(description = "编码")
    private String code;
    /**
     * 名称
     */
    @Schema(description = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;
    /**
     * 年度
     */
    @Schema(description = "年度")
    @NotBlank(message = "年度不能为空")
    private String years;
    /**
     * 是否启用
     */
    @Schema(description = "是否启用")
    private Integer enable;
    /**
     * 截止时间
     */
    @Schema(description = "截止时间")
    private LocalDateTime expireDate;
    /**
     * 考核周期
     */
    @Schema(description = "考核周期")
    @NotBlank(message = "考核周期不能为空")
    private String cycleIds;
    /**
     * 执行部门
     */
    @NotNull(message = "执行部门不能为空")
    @Schema(description = "执行部门")
    private List<Long> hrOrgIds;
}
